package com.ruoyi.wechat.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;

import java.util.Date;

/**
 * 评论对象 c_comments
 * 
 * @author yeluochen
 * @date 2024-12-24
 */
public class Comments
{
    private static final long serialVersionUID = 1L;

    /** 评论id */
    private String commentsId;

    /** 交流id */
    @Excel(name = "交流id")
    private String dynamicId;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 评论内容 */
    @Excel(name = "评论内容")
    private String commentsText;

    /** 评论状态 */
    @Excel(name = "评论状态")
    private Long commentsStatus;

    private Date createTime;


    private String username;


    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setCommentsId(String commentsId)
    {
        this.commentsId = commentsId;
    }

    public String getCommentsId()
    {
        return commentsId;
    }
    public void setDynamicId(String dynamicId)
    {
        this.dynamicId = dynamicId;
    }

    public String getDynamicId()
    {
        return dynamicId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setCommentsText(String commentsText) 
    {
        this.commentsText = commentsText;
    }

    public String getCommentsText() 
    {
        return commentsText;
    }
    public void setCommentsStatus(Long commentsStatus) 
    {
        this.commentsStatus = commentsStatus;
    }

    public Long getCommentsStatus() 
    {
        return commentsStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("commentsId", getCommentsId())
            .append("dynamicId", getDynamicId())
            .append("userId", getUserId())
            .append("commentsText", getCommentsText())
            .append("createTime", getCreateTime())
            .append("commentsStatus", getCommentsStatus())
            .toString();
    }
}
